package com.timo.shopp.member.comtroller;

import com.timo.shopp.api.member.server.TestApiServer;
import com.timo.shopp.common.util.Result;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

/**
 * @Author: Timo
 * @Date: 2019/3/24 00:54
 * @Description:
 */
@RestController
public class TestApiController implements TestApiServer {

    @Override
    public Result test(Integer userId) {
        Map<String, Object> resultMap = new HashMap<>();
         resultMap.put("sdfsd","fdsafsda");
         resultMap.put("userId",userId);
        return Result.success(resultMap);
    }
}
